package service

// 具体业务逻辑，就写核心逻辑即可

type IUserService interface {
	GetName(id int) string
}

type UserService struct{}

func (e *UserService) GetName(id int) string {
	if id == 0 {
		return "no.0"
	}
	return "no.other"
}
